package com.zzb.demo.service.impl;

import com.zzb.demo.service.UserService;

/**
 * @Author zzb
 * @Date 2024/11/5 10:31
 * @Version 1.0
 * @description
 */
public class UserServiceImpl implements UserService {
    @Override
    public String login(String username, String password) {
        if ("zhangsan".equals(username) && "123456".equals(password)) {
            return "success";
        }
        return "fail";
    }
}
